package com.wonders.common.exception;

/**
 * 协同平台业务异常
 * 
 * @author WuBin
 * 
 */
public class XtptBusinessException extends RuntimeException {

	/**
	 * 业务返回码
	 */
	private String busiCode;

	/**
	 * 返回信息
	 */
	private String info;

	public XtptBusinessException(String busiCode, String info) {
		super();
		this.busiCode = busiCode;
		this.info = info;
	}

	public XtptBusinessException(String busiCode, String info, String message,
			Throwable cause) {
		super(message, cause);
		this.busiCode = busiCode;
		this.info = info;
	}

	public String getBusiCode() {
		return busiCode;
	}

	public String getInfo() {
		return info;
	}

	public void setBusiCode(String busiCode) {
		this.busiCode = busiCode;
	}

	public void setInfo(String info) {
		this.info = info;
	}

}
